text

open fun text(): String

Returns a string that represents the default text passed to the window.prompt() JavaScript function or an empty string, if no default value is passed.